﻿<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>@ViewBag.Title - Jerry's Jungle Huts</title>
    @Styles.Render("~/Content/Common/css")
    @Styles.Render("~/Content/" + System.Configuration.ConfigurationManager.AppSettings["Theme"].ToString()
    + "/css")
    @Scripts.Render("~/bundles/modernizr")
    <script src="~/Scripts/jquery-1.10.2.min.js"></script>   
    <script>
    (function (i, s, o, g, r, a, m) {
        i['GoogleAnalyticsObject'] = r; i[r] = i[r] || function () {
            (i[r].q = i[r].q || []).push(arguments)
        }, i[r].l = 1 * new Date(); a = s.createElement(o),
        m = s.getElementsByTagName(o)[0]; a.async = 1; a.src = g; m.parentNode.insertBefore(a, m)
    })(window, document, 'script', '//www.google-analytics.com/analytics.js', 'ga');

    ga('create', 'UA-55687360-1', 'auto');
    ga('send', 'pageview');
    </script>

</head>
<body>
    <!-- header start -->
    @Html.Partial("_PartialHeader")
    <!-- header end -->
    <div class="container body-content" style="margin-top: 30px; min-height: 350px;">
        @RenderBody()
    </div>
    <!-- footer start -->
    @Html.Partial("_PartialFooter")
    <!-- footer end -->
    @Scripts.Render("~/bundles/jquery")
    @Scripts.Render("~/bundles/bootstrap")
    @RenderSection("scripts", required: false)
    <link href="~/Content/Common/jquery-ui.css" rel="stylesheet" />
    <script src="~/Scripts/jquery-ui.js"></script>
    <!-- Add fancyBox main JS and CSS files -->
    <script type="text/javascript" src="~/Scripts/jquery.fancybox.js"></script>
    <link href="~/Content/Default/jquery.fancybox.css" type="text/css" rel="stylesheet"
        media="screen" />    
    <script type="text/javascript">
        $(document).ready(function () {
            $("#CheckInDate").datepicker();
            $("#CheckOutDate").datepicker();
            $('.fancybox').fancybox();
            $('#bookingroom').modal({
                keyboard: false,
                backdrop: "static",
                show: false
            });
            //$("ul.nav li a").hover(function (e) {
            //    //e.preventDefault();
            //    //e.stopPropagation();
            //    var link = $(this);
            //    $("ul.nav li").each(function () {
            //        $(this).removeClass('selected');
            //    });
            //    var liElement = link.parent();
            //    liElement.addClass('selected');
            //});
            //$("ul.nav li a").click(function (e) {
            //    //e.preventDefault();
            //    //e.stopPropagation();
            //    var link = $(this);
            //    $("ul.nav li").each(function () {
            //        $(this).removeClass('selected');
            //    });
            //    var liElement = link.parent();
            //    liElement.addClass('selected');
            //});
        });
    </script>
    <script type="text/javascript">
        $(window).load(function () {
            $("#pageloaddiv").fadeOut(2000);
        });
    </script>
    <style type="text/css">
        ul.nav li.selected
        {
            background-color: orange;
        }
    </style>        
    <div id="pageloaddiv"></div>
</body>
</html>
